
import com.westos.codeaudit.catchcode.entity.VersionManage;
import com.westos.core.DoScan;
import com.westos.utils.StartTimer;

import java.security.PublicKey;
import java.util.Scanner;
import java.util.UUID;

public class Main {
    public static void main(String[] args) {
        while (true)

        {
            Scanner scanner = new Scanner(System.in);
            System.out.println("id:");
            int id = Integer.parseInt(scanner.nextLine());
            System.out.println("dir:");
            String dir = scanner.nextLine();
            System.out.println("scanway");
            String kind = scanner.nextLine();
            VersionManage versionManage = new VersionManage();
            versionManage.setVerid(id);
            versionManage.setPropath(dir);
            versionManage.setScanway(kind);
            DoScan doScan = new DoScan(versionManage);
            doScan.doScan();
            new StartTimer(doScan);

        }

    }
}


